-- GENERATED SPELL FOR [Fallenroot Shadowstalker] --


function spell0_4798(pUnit, Event) --@Curse of Weakness,n/a--
pUnit:FullCastSpellOnTarget(6205,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_4798', 561, 1)
end

function Sorts_4798(pUnit, Event)
local choix_sorts_4798 = math.random(0, 0)
if choix_sorts_4798 == 0 then
pUnit:RegisterEvent('spell0_4798', 1, 1)
end
end

function mob4798_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_4798', math.random(1500, 3000), 1)
end

function mob4798_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4798_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4798_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(4798, 1, 'mob4798_Action')
RegisterUnitEvent(4798, 2, 'mob4798_Leave')
RegisterUnitEvent(4798, 3, 'mob4798_Kill')
RegisterUnitEvent(4798, 4, 'mob4798_Die')
